package com.message.domain;

import com.message.annotion.TableField;
import lombok.Data;

import java.util.Date;

@Data
public class MessageSourceDto {

    @TableField("id")
    private Long id;
    @TableField("subject")
    private String subject;
    @TableField("read_ian")
    private Boolean readIan;
    @TableField("reason")
    private Integer reasion;
    @TableField("recipient_id")
    private Long recipientId;
    @TableField("actor_id")
    private Long actorId;
    @TableField("resource_type")
    private String resourceType;
    @TableField("resource_id")
    private Long resourceId;
    @TableField("project_id")
    private Long projectId;
    @TableField("journal_id")
    private Long journalId;
    @TableField("created_at")
    private Date createdAt;
    @TableField("updated_at")
    private Date updatedAt;
    @TableField("mail_reminder_sent")
    private Boolean mailReminderSent;
    @TableField("mail_alert_sent")
    private Boolean mailAlertSent;
    @TableField("project_name")
    private String projectName;
    @TableField("wbs_subject")
    private String wbsSubject;
    @TableField("fromuser")
    private String fromuser;
    @TableField("touser")
    private String touser;
    @TableField("toaccount")
    private String toaccount;
    private String token;
    private String touserId;
    private String msg;

}
